<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
  <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html lang="zh_cn">
<head>
   <title>何人堂在线购物后台管理系统</title>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   <link href="../css/bootstrap.min.css" rel="stylesheet">
   <script src="../js/jquery.min.js"></script>
   <script src="../js/bootstrap.min.js"></script>
  <script>
  
  function logout(){
	  
	  if(confirm("您确定要退出吗？"))
		  {
		     window.location.href="manage/user/logout.do";
		  }
  }
   		function iframeResize(iframe) {
			try {
				var idocumentElement = iframe.contentWindow.document.body;
				var wheight = $(window).height()-60;
				
				if (idocumentElement.scrollHeight > wheight) {
					iframe.height = idocumentElement.scrollHeight;
				}
				else {
					iframe.height = wheight;
					
				}
			}
			catch (e) {
				window.status = 'Error: ' + e.number + '; ' + e.description;
			}
		}
   		
   
   </script>
       <style>
		.heads {
			width:100%;
			color: rgb(255, 255, 255);
			text-align:right; 
			background: rgb(0, 0, 0);
		}
		.heads_div{
			line-height:55px;
		}
		.heads_div a{
			color: rgb(255, 255, 255);
		}
   		.submenu {
			width:200px;
		}
		.submenu_sub {
			width:100%;
			padding:0px;
			margin:0px;
		}
		.container_left{
			width:100%;
			margin:0px;
			padding:0px;
			
		}
		.lefts{
			margin:0px;
			width:25%;
			float:left;
		}
		#ifrcontant{
			margin-top: 20px;
		}
    </style>
   
</head>
<body>
    <div class="container heads">
       <div class="heads_div">欢迎您，
            <span class="dl-log-user"><c:out value="${onlineManager.loginName}"></c:out></span>
            <a  title="退出系统" class="dl-log-quit" onClick="logout();">[退出]</a>
       </div>
    </div>
    
    <div class="container container_left row">
        
        <div class="panel-group lefts " id="accordion">
          <div class="panel panel-default">
            <div class="panel-heading">
              <h4 class="panel-title">
                <a data-toggle="collapse" data-parent="#accordion" 
                  href="#collapseOne">
                  系统管理1
                </a>
              </h4>
            </div>
            <div id="collapseOne" class="panel-collapse collapse in">
              <div class="panel-body submenu_sub">
                <ul class="list-group submenu_sub">
                   <li class="list-group-item"><a href="<%=request.getContextPath() %>/manage/user/list.do" target="iframeName">用户管理</a></li>
                   <li class="list-group-item"><a href="<%=request.getContextPath() %>/manage/member/list.do" target="iframeName">会员管理</a></li>
                   <li class="list-group-item"><a href="<%=request.getContextPath() %>/manage/protype/list.do" target="iframeName">产品分类管理</a></li>
                   <li class="list-group-item"><a href="<%=request.getContextPath() %>/manage/proInfor/list.do" target="iframeName">产品信息管理</a></li>
                   <li class="list-group-item"><a href="<%=request.getContextPath() %>/manage/giftType/list.do" target="iframeName">礼品分类管理</a></li>
                   <li class="list-group-item"><a href="<%=request.getContextPath()%>/manage/giftInfo/list.do" target="iframeName">礼品信息管理</a></li>
                   <li class="list-group-item"><a href="<%=request.getContextPath() %>/manage/demo/czd/user/list.do" target="iframeName">会员管理练习</a></li>
                   <li class="list-group-item"><a href="<%=request.getContextPath() %>/manage/fannie/classification/list.do" target="iframeName">练习</a></li>
                   <li class="list-group-item"><a href="<%=request.getContextPath() %>/manage/fannie/products/list.do" target="iframeName">练习产品</a></li>
				   <li class="list-group-item"><a href="<%=request.getContextPath() %>/manage/productStock/list.do" target="iframeName">库存查询</a></li>
				    <li class="list-group-item"><a href="<%=request.getContextPath() %>/manage/stocks/list.do" target="iframeName">库单管理</a></li>
				   <li class="list-group-item"><a href="<%=request.getContextPath() %>/manage/order/list.do" target="iframeName">我的订单</a></li>
				   <li class="list-group-item"><a href="<%=request.getContextPath() %>/manage/order/orderDetail/list.do" target="iframeName">订单详情</a></li>
				   <li class="list-group-item"><a href="<%=request.getContextPath() %>/manage/stocks/list.do" target="iframeName">库单管理</a></li>
				    <li class="list-group-item"><a href="<%=request.getContextPath() %>/manage/sequence/list.do" target="iframeName">序列管理</a></li>
				   
                </ul>
              </div>
            </div>
          </div>
          <div class="panel panel-default">
            <div class="panel-heading">
              <h4 class="panel-title">
                <a data-toggle="collapse" data-parent="#accordion" 
                  href="#collapseTwo">
                  系统管理2
                </a>
              </h4>
            </div>
            <div id="collapseTwo" class="panel-collapse collapse">
              <div class="panel-body submenu_sub">
                <ul class="list-group submenu_sub">
                   <li class="list-group-item"><a href="tableDemo.html" target="iframeName">免费域名注册</a></li>
                   <li class="list-group-item"><a href="tableDemo.html" target="iframeName">免费 Window 空间托管</a></li>
                   <li class="list-group-item"><a href="tableDemo.html" target="iframeName">图像的数量</a></li>
                   <li class="list-group-item"><a href="tableDemo.html" target="iframeName">24*7 支持</a></li>
                   <li class="list-group-item"><a href="tableDemo.html" target="iframeName">每年更新成</a></li>
                </ul>
              </div>
            </div>
          </div>
          <div class="panel panel-default">
            <div class="panel-heading">
              <h4 class="panel-title">
                <a data-toggle="collapse" data-parent="#accordion" 
                  href="#collapseThree">
                  系统管理3
                </a>
              </h4>
            </div>
            <div id="collapseThree" class="panel-collapse collapse">
              <div class="panel-body submenu_sub">
                <ul class="list-group submenu_sub">
                   <li class="list-group-item"><a href="tableDemo.html" target="iframeName">免费域名注册</a></li>
                   <li class="list-group-item"><a href="tableDemo.html" target="iframeName">免费 Window 空间托管</a></li>
                   <li class="list-group-item"><a href="tableDemo.html" target="iframeName">图像的数量</a></li>
                   <li class="list-group-item"><a href="tableDemo.html" target="iframeName">24*7 支持</a></li>
                   <li class="list-group-item"><a href="tableDemo.html" target="iframeName">每年更新成</a></li>
                </ul>
              </div>
            </div>
          </div>
        </div>
        <div style="float:left; width:75%; padd-left:5px;">
           
           <iframe id="ifrcontant" frameborder="0"   scrolling="auto"  name="iframeName" width="100%" onLoad="iframeResize(this)"></iframe>
            
        </div>
    </div>
</body>
</html>			